package org.zcl.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import org.zcl.service.RetryService;

/**
 * .
 *
 * @author zhuchenglin
 * @since 2024/8/6 10:32
 */

@RestController
public class RetryApi  {

    @Autowired
    private RetryService retryService;

    @GetMapping("/retry/{id}")
    public void getById(@PathVariable(value = "id") Long id) {
        // openfeign-test
        retryService.retry(id);
    }
}
